Release 10.1A: OpenEdge Data Management:
SQL Reference


GROUP BY clause

Specifies grouping of rows in the result table.

Syntax

GROUP BY [ table_name.]column_name  ... 

Notes

Example

This example retrieves name and order info for customers with orders:

SELECT DeptCode, LastName 
     FROM Employee 
     GROUP BY DeptCode; 


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095